/*
 * Created on 2005-10-6
 *
 */
package com.yl.cap.analyst.work.domain;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.quartz.Trigger;

/**
 * @author ZhangQi
 *
 */
public class TriggerCollection
{
    private List tigerList;
    private List tigerState;
    public static Map jobMap = new HashMap();
    /**
     * @return Returns the tigerList.
     */
    public List getTigerList()
    {
        return tigerList;
    }
    /**
     * @param jobList The tigerList to set.
     */
    public void setTigerList(List tigerList)
    {
        this.tigerList = tigerList;
        tigerState = new ArrayList();
        for (int i = 0; i < tigerList.size(); i++)
        {
            tigerState.add(new Boolean(true));
            TriggerCollection.jobMap.put(((Trigger)tigerList.get(i)).getName(),new ArrayList());
        }
    }
    /**
     * @return Returns the tigerState.
     */
    public List getTigerState()
    {
        return tigerState;
    }
    /**
     * @param tigerState The tigerState to set.
     */
    public void setTigerState(List tigerState)
    {
        this.tigerState = tigerState;
    }
}
